<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/8/30
 * Time: 13:50
 */

namespace app\index\model;


class CardDaybook extends Base
{
    protected $table = 'sy_card_daybook';

    public function card()
    {
        return $this->belongsTo('Card', 'card_id', 'id');
    }
}